package com.bdqn.zhang.service.impl;

import com.bdqn.zhang.dao.MemberinfoDao;
import com.bdqn.zhang.dao.impl.MemberinfoDaoimpl;
import com.bdqn.zhang.pojo.Memberinfo;
import com.bdqn.zhang.service.ServiceMemberinfo;

import java.util.List;

public class ServiceMemberinfoimpl implements ServiceMemberinfo {
    MemberinfoDao memberinfoDao = new MemberinfoDaoimpl();

    @Override
    public List<Memberinfo> getAll(int from, int pageSixe) {
        return memberinfoDao.getAll(from, pageSixe);
    }

    @Override
    public int getCount() {
        return memberinfoDao.getCount();
    }

    @Override
    public List<Memberinfo> xb() {
        return memberinfoDao.xb();
    }


    @Override
    public List<Memberinfo> dan(String name, int from, int pageSixe) {
        return memberinfoDao.dan(name, from, pageSixe);
    }




    @Override
    public int del(String id) {
        return memberinfoDao.del(id);
    }

    @Override
    public Memberinfo getStudentByid(String id) {
        return memberinfoDao.getStudentByid(id);
    }

    @Override
    public int mhdan(String name) {
        return memberinfoDao.mhdan(name);
    }

    @Override
    public int add(Memberinfo memberinfo) {
        return memberinfoDao.add(memberinfo);
    }

    @Override
    public int checkNameUnique(String name) {
        return memberinfoDao.checkNameUnique(name);
    }

    @Override
    public int emails(String name) {
        return memberinfoDao.emails(name);
    }

    @Override
    public int edits(Memberinfo memberinfo) {
        return memberinfoDao.edits(memberinfo);
    }

    @Override
    public int gai(Memberinfo memberinfo) {
        return memberinfoDao.gai(memberinfo);
    }

    @Override
    public List<Memberinfo> ztcx(int name, int from, int pageSixe) {
        return memberinfoDao.ztcx(name, from, pageSixe);
    }

    @Override
    public int mhztcx(int name) {
        return memberinfoDao.mhztcx(name);
    }

    @Override
    public List<Memberinfo> yhmcx(String name, int from, int pageSixe) {
        return memberinfoDao.yhmcx(name, from, pageSixe);
    }

    @Override
    public List<Memberinfo> sjhcx(String name, int from, int pageSixe) {
        return memberinfoDao.sjhcx(name, from, pageSixe);
    }

    @Override
    public List<Memberinfo> xbcx(String name, int from, int pageSixe) {
        return memberinfoDao.xbcx(name, from, pageSixe);
    }

    @Override
    public List<Memberinfo> yxcx(String name, int from, int pageSixe) {
        return memberinfoDao.yxcx(name, from, pageSixe);
    }


}
